package edu.usx.server.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Author: Elapse
 * @CreateTime: 2024-07-23
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SitesVO对象", description = "")
public class SitesVO implements Serializable {
    @ApiModelProperty(value = "服务id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "服务名称")
    private String name;

    @ApiModelProperty(value = "服务对应的分类id")
    private Integer categoryId;

    @ApiModelProperty(value = "服务对应的分类名")
    private String categoryName;

    @ApiModelProperty(value = "服务详情描述")
    private String description;

    @ApiModelProperty(value = "服务的图标连接")
    private String icon;

    @ApiModelProperty(value = "服务的访问连接")
    private String link;

    @ApiModelProperty(value = "服务的状态 (1 已上架 2 已经下架 0 审核中)")
    private Integer status;

    @ApiModelProperty(value = "创建者id")
    private Integer userId;

    @ApiModelProperty(value = "创建者姓名")
    private String userName;

}
